package com.ts.main.admin.mapper;

import com.ts.main.admin.dto.AdminLoginDto;
import com.ts.main.admin.dto.AdminSearchPageDto;
import com.ts.main.admin.entity.AdminEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ts.main.admin.po.AdminPo;
import com.ts.main.admin.vo.AdminVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author lk
* @description 针对表【t_admin(用户表)】的数据库操作Mapper
* @createDate 2025-06-09 00:38:59
* @Entity generator.domain.TAdmin
*/
public interface AdminMapper extends BaseMapper<AdminEntity> {

    AdminPo getAdminInfo(@Param("id") Integer id, @Param("account") String account);

    List<AdminVo> getUserList(@Param("dto") AdminSearchPageDto dto);

    AdminVo getUserDetails(@Param("id") Integer id);
}




